﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.DataAccess;

namespace University.Workshop.Business
{
    public static class UserWishListManager
    {
        public static UserWishList RegisterWishList(long userId, long productId, string status)
        {
            UserWishList userWishList = new UserWishList
            {
                UserId = userId,
                ProductId = productId,
                Status = status

            };
            userWishList = UserWishListDataAccess.InsertWishList(userWishList);
            return userWishList;
        }
        public static object LoadUserWishList(UserWishList userWL)
        {
            return UserWishListDataAccess.ViewWishList(userWL);
        }

    }
}
